← Back to issue list

python plugin doesn't properly handle dependencies from extra-require in "python-packages"

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1817771
Type
issue
State
open
Author
~ack
Labels
Created
2019-02-26 18:07:50.111738+00:00
Updated
2019-02-26 18:07:50.111738+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I'm trying to use the following in a core18-based snap, inside a python part: python-packages: - SQLAlchemy[postgresql] - SQLAlchemy[mysql] What happens is that only the dependencies from the first extra-part (specifically psycopg2) gets installed, whereas mysqlclient doesn't. If I specify them explicitly as python-packages: - psycopg2 - mysqlclient it works as expected. It seems multiple extra-require for the same package are not handled correctly.

Evaluation history

No evaluation history available.